﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using XMLHelper;

namespace ZdjDataModel
{
    /// <summary>
    /// 用户模型
    /// </summary>
    [Serializable]
    public class LoginModel
    {
        string guid;
        private string userName;
        private string password;
        private string rowName;
        private bool isOK = false;
        private bool isRemmeber = false;
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get => userName; set => userName = value; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get => password; set => password = value; }
        /// <summary>
        /// 是否登陆成功
        /// </summary>
        public bool IsOK { get => isOK; set => isOK = value; }
        /// <summary>
        /// 是否记住密码
        /// </summary>
        public bool IsRemmeber { get => isRemmeber; set => isRemmeber = value; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RowName { get => rowName; set => rowName = value; }
        /// <summary>
        /// guid
        /// </summary>
        public string Guid { get => guid; set => guid = value; }
    }
}
